﻿namespace Xioa_UI.Mvvm;

///<summary>
/// @author：XIOA (xioa.liu)
/// @date：2024-10-23
/// @belong-sln：Xioa_UI 
/// @desc：Ref
///</summary>
public class Ref<T> : NotifyProperty
{
    private T _value = default!;

    public T Value
    {
        get => _value;
        set
        {
            _value = value;
            OnPropertyChanged();
        }
    }

    public Ref(T data)
    {
        this.Value = data;
    }
}